package com.shanling.shanlingcontroller.bean;

import android.os.Environment;

/**
 * Created by zhuoyue on 2017/5/10.
 */

public interface Constants {
    public static final  int CONNECTED = 1;      //蓝牙连接状态
    public static final  int DISCONNECTED = 0;


    public static final   int BLUETOOTH_STATE = 2;     // 手机蓝牙状态标志

    public static final int BLUETOOTH_READY=3;//蓝牙准备好

    public static final  int BLUTOOTH_FINDFINISH=4 ;//蓝牙搜索结束

    public static final int BLE_CHANGE=5;//蓝牙改变


    public static  final  int METACHANGE=6;


    public static  final  int PLAYLISTEVENT=7;


    public static final  int PLAYMODEEVENT=8;


    public static final int STATUSCHANGEEVENT=9;

    public static final int WEATHERINFO=10;

    public static final int GAIA_PACKET=11;

    public static final int GAIA_BLUTOOTH_CODE=12;

    public static final int GAIN_SETTING=13;

    public static final int GETFILTER=14;
    public static final int SETFILTER=15;


    public static final int GET_EQ_SELECTED=16;
    public static final int SET_EQ_SELECTED=17;


    public static final int A2DP_ISCONNTECT=18;

    public static final int IS_BOND=19;
    public static final int EQ_DATA=20;


    public static  final  int UPGRADE_STEP_HAS_CHANGED=21;
    public static  final  int UPGRADE_REQUEST_CONFIRMATION=22;

    public static final int BCAK_TO_BLUETOOTH=23 ;
    public static final int UPGRADEFINISH=24 ;


    String LOCAL_DIR = "/shanlingcontroller/newfirmware/";
    String LOCAL_FIRMWARE_PATH = Environment.getExternalStorageDirectory()
            .getAbsolutePath() + LOCAL_DIR;

    String FILE_NAME="firmware.OTA";

















    /**
     * app_id是从微信官网申请到的合法APPid
     */
    public static final String APP_ID_WX = "wx76303f2c87a40ba4";

    /**
     * 微信AppSecret值
     */
    public static final  String  APP_SECRET_WX = "db62e7e32318942e5b01e1c4e5541a2a";


    //歌曲类型
    public static final   String LOCAL = "local";
    public static final  String VIDEO = "video";//本地视频
    public static final  String YOUTUBE = "youtube";//YouTube

    //特殊歌单类型
    public static final  String PLAYLIST_LOVE_ID = "love";
    public static final  String PLAYLIST_HISTORY_ID = "history";
    public static final  String PLAYLIST_DEVICE_ID = "device";
    public static final  String PLAYLIST_LOCAL_ID = "local";
    public static final  String PLAYLIST_QUEUE_ID = "queue";
    public static final  String PLAYLIST_DOWNLOAD_ID = "download";

    public static final String IS_URL_HEADER = "http";

    public static final String DEAULT_NOTIFICATION = "notification";


    //在线歌单
    public static final String PLAYLIST_CUSTOM_ID = "custom_online";
    //


}
